package com.yusysqdy.common.exception;

/**
 * @program: gulimail
 * @contact: qindy0116@126.com
 * @author: Mr.DYQin
 * @create: 2021-02-18 10:55
 * @Description:
 **/

public class NotStockException extends RuntimeException {

    private Long skuId;

    public NotStockException(String msg) {
        super(msg + "号商品没有足够的库存了");
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }
}
